﻿// <copyright file="ClientDataList.cs" company="O-RID">
//     Copyright (c)2010 O-RID Co.,Ltd.
// </copyright>
// <author>zhangjun</author>
// <summary>用于存储或是转换服务端传来的数据</summary> 

namespace Orid.Management.Statistics.OperatorUnitMangement.Common.FunctionList
{
    using System.Collections.ObjectModel;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;

    #region ClientDataList
 
    /// <summary>
    /// 向服务端传送列表
    /// 全局数据列表
    /// </summary>
    public class ClientDataList
    {
        /// <summary>
        /// 用于AccountManagementListShowChild
        /// 向服务端传送带列表的参数时使用
        /// </summary>
        private static ObservableCollection<string> parameterAccountList = new ObservableCollection<string>();
 
        /// <summary>
        /// AccountRolesEditShowChild.xaml
        /// 用于Combbox的数据源
        /// [Roles]的所有权限
        /// </summary>
        private static List<ClientCombboxData> clientCombboxList = new List<ClientCombboxData>();

        /// <summary>
        /// OPIDSelectChildWindow.xaml 用
        /// 选择所有OP时，记录OP所在的UNIT组号
        /// 选择部分UNIT时，记录UNIT组号
        /// </summary>
        private static List<string> checkOpUnitList = new List<string>();

        /// <summary>
        /// LineSelChildWin.xaml 用
        /// 选择所有线路时，记录所选择的LINE号
        /// </summary>
        private static List<string> selLineList = new List<string>();

        /// <summary>
        /// OPIDSelectChildWindow.xaml 用
        /// 选择部分OP时，记录OPID
        /// </summary>
        private static List<string> selOpIDList = new List<string>();

        /// <summary>
        /// 树形结构列表
        /// </summary>
        /// <value>09/27/2010 Add</value>
        private static List<ClientTreeInfor> clientTreeInforList = new List<ClientTreeInfor>();

        /// <summary>
        /// 当前用户的可登录URI地址
        /// </summary>
        /// <value>09/27/2010 ADD</value>
        private static List<string> isURIAddress = new List<string>();


        /// <summary>
        /// MatterNameSelChildWin.xaml 用
        /// 记录案件名
        /// </summary>
        /// <value>04/25/2011 add v2.14</value>
        private static List<string> selMatterNamesList = new List<string>();


        /// <summary>
        /// UserOrderChildWin.xaml 用
        /// 记录UserOrder客户种类
        /// </summary>
        /// <value>06/30/2011 add v2.14</value>
        private static List<string> selUserOrderList = new List<string>();


        /// <summary>
        /// ScriptTypeSelChildWin.xaml 用
        /// 记录ScriptType客户种类
        /// </summary>
        /// <value>07/05/2011 add v2.15</value>
        private static List<string> selScriptTypeList = new List<string>();

        /// <summary>
        /// WordTypeSelChildWin.xaml 用
        /// 记录WordType客户种类
        /// </summary>
        /// <value>07/06/2011 add v2.15</value>
        private static List<string> selWordTypeList = new List<string>();

        /// <summary>
        /// JobClassSelChildWin.xaml
        /// 记录JOBClassic种类
        /// </summary>
        /// <value>07/06/2011 add v2.15</value>
        private static List<string> selJobClassList = new List<string>();



        /// <summary>
        /// 树形结构列表
        /// </summary>
        /// <value>09/27/2010 Add </value>
        public static List<ClientTreeInfor> ClientTreeInforList
        {
            get { return ClientDataList.clientTreeInforList; }
            set { ClientDataList.clientTreeInforList = value; }
        }

        /// <summary>
        /// Gets or sets parameterAccountList
        /// 用于AccountManagementListShowChild 向服务端传送带列表的参数时使用    
        /// </summary>
        public static ObservableCollection<string> ParameterAccountList
        {
            get { return ClientDataList.parameterAccountList; }
            set { ClientDataList.parameterAccountList = value; }
        }
        
        /// <summary>
        /// Gets or sets clientCombboxList
        /// AccountRolesEditShowChild.xaml
        /// 用于Combbox的数据源
        /// [Roles]的所有权限
        /// </summary>
        public static List<ClientCombboxData> ClientCombboxList
        {
            get { return ClientDataList.clientCombboxList; }
            set { ClientDataList.clientCombboxList = value; }
        }

        /// <summary>
        /// Gets or sets checkOpUnitList
        /// OPIDSelectChildWindow.xaml
        /// 选择所有OP时，记录OP所在的UNIT组号
        /// 选择部分UNIT时，记录UNIT组号
        /// </summary>
        public static List<string> CheckOpUnitList
        {
            get { return ClientDataList.checkOpUnitList; }
            set { ClientDataList.checkOpUnitList = value; }
        }

        /// <summary>
        /// Gets or sets SelOpIDList
        /// OPIDSelectChildWindow.xaml
        /// 选择部分OP时，记录OPID
        /// </summary>
        public static List<string> SelOpIDList
        {
            get { return ClientDataList.selOpIDList; }
            set { ClientDataList.selOpIDList = value; }
        }

        /// <summary>
        /// LineSelChildWin.xaml用
        /// 选择所有线路时，记录所选择的LINE号
        /// </summary>
        public static List<string> SelLineList
        {
            get { return ClientDataList.selLineList; }
            set { ClientDataList.selLineList = value; }
        }

        /// <summary>
        /// MatterNameSelChildWin.xaml 用
        /// 记录案件名
        /// </summary>
        /// <value>04/25/2011 add v2.14</value>
        public static List<string> SelMatterNamesList
        {
            get { return ClientDataList.selMatterNamesList; }
            set { ClientDataList.selMatterNamesList = value; }
        }

        /// <summary>
        /// 当前用户的可登录URI地址
        /// Gets or sets the is URI address.
        /// </summary>
        /// <value>09/27/2010 ADD</value>
        public static List<string> IsURIAddress
        {
            get { return isURIAddress; }
            set { isURIAddress = value; }
        }

        /// <summary>
        /// UserOrderChildWin.xaml 用
        /// 记录UserOrder客户种类
        /// </summary>
        /// <value>06/30/2011 add v2.15</value>
        public static List<string> SelUserOrderList
        {
            get { return ClientDataList.selUserOrderList; }
            set { ClientDataList.selUserOrderList = value; }
        }

        /// <summary>
        /// ScriptTypeSelChildWin.xaml 用
        /// 记录ScriptType客户种类
        /// </summary>
        // <value>07/05/2011 add v2.15</value>
        public static List<string> SelScriptTypeList
        {
            get { return ClientDataList.selScriptTypeList; }
            set { ClientDataList.selScriptTypeList = value; }
        }

        /// <summary>
        /// WordTypeSelChildWin.xaml 用
        /// 记录WordType客户种类
        /// </summary>
        // <value>07/06/2011 add v2.15</value>
        public static List<string> SelWordTypeList
        {
            get { return ClientDataList.selWordTypeList; }
            set { ClientDataList.selWordTypeList = value; }
        }

        /// <summary>
        /// JobClassSelChildWin.xaml 用
        /// 记录JOBClass种类
        /// </summary>
        /// <value>07/06/2011 add v2.15</value>
        public static List<string> SelJobClassList
        {
            get { return ClientDataList.selJobClassList; }
            set { ClientDataList.selJobClassList = value; }
        }
        

    }
    #endregion ClientDataList
}
